UpdateTimer Methods
The UpdateTimer object contains the following methods:
EnableUpdate
The EnableUpdate method enables or disables timer updating.
Syntax
EnableUpdate(Enable As Boolean)
Parameters
| Parameter | Required | Description |
|---|---|---|
|
Enable |
Yes |
A Boolean value indicating whether to run the timer (True) or not (False). |
Remarks
The Timer object is enabled by default in the HSS.
Set
The Set method sets a timer to trigger an OnTimer event on a HyperPoint each time the specified interval (in milliseconds) has elapsed.
Syntax
Set(HyperPoint As HyperPoint, Interval As Long)
Parameters
| Parameter | Required | Description |
|---|---|---|
|
HyperPoint |
Yes |
The HyperPoint object for which the timer will be set. |
|
Interval |
Yes |
The value of the time period in milliseconds |
Remarks
Subsequent calls to this method for the same HyperPoint update the timer according to the most recent call. Setting the time period to 0 (zero) will remove the timer from the HyperPoint.
Example
The following OnInitializeEx event adds points to the Points object, then sets a timer with an update frequency of 20 seconds.


